<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>
 
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('AdminIndex/index')}">用户管理</a></li>
        <!-- <li>
            <a href="{:url('AdminArticle/add')}">添加商品</a>
        </li> -->
        <li class="active"><a href="#">编辑用户</a></li>
    </ul>
    <form action="{:url('AdminIndex/editPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">
                 
          
                    <tr>
                        <th>用户名</th>
                        <td>
                            <input id="post-id" type="hidden" name="post[id]" value="{$post.id}">
                            <input class="form-control" type="text" name="post[user_login]"
                                   value="{$post['user_login']}" placeholder="请输入">
                         
                        </td>
                    </tr>

                    <tr>
                        <th>手机号</th>
                        <td>
                            <input class="form-control" type="text" name="post[mobile]"
                                   value="{$post['mobile']}" placeholder="请输入">
                         
                        </td>
                    </tr>
                    <tr>
                        <th>昵称</th>
                        <td>
                            <input class="form-control" type="text" name="post[user_nickname]"
                                   value="{$post['user_nickname']}" placeholder="请输入">
                         
                        </td>
                    </tr>
                    
                    <tr>
                        <th>邮箱</th>
                        <td>
                            <input class="form-control" type="text" name="post[user_email]"
                                   value="{$post['user_email']}" placeholder="请输入">  
                         
                        </td>
                    </tr>
                    <tr>
                        <th>注册时间</th>
                        <td>
                            {:date('Y-m-d H:i:s',$post['create_time'])}
                         
                        </td>
                    </tr>
                    <tr>
                        <th>余额</th>
                        <td>
                                 {$post['balance']}
                         
                        </td>
                    </tr>
                   
                </table>

                <hook name="portal_admin_article_edit_view_main"/>
            </div>
           
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
 

 

</body>
</html>
